Skip to content

Comments

fix for python requests module >= 1.0.0 for from_response#24

Open
buckmaxwell wants to merge 2 commits intointernetarchive:masterfrom
buckmaxwell:master
Open

fix for python requests module >= 1.0.0 for from_response#24
buckmaxwell wants to merge 2 commits intointernetarchive:masterfrom
buckmaxwell:master

Conversation

@buckmaxwell
Copy link

In the request module versions >= 1.0.0, full_url attribute does not exist, so this method will not work. By wrapping in a try catch, this remains backward compatible w/ older versions of the module and th method will now be able to support new request responses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant